<template>
  <div>
    <!--高级查询-->
    <el-form :inline="true" :model="searchForm" class="demo-form-inline">
      <el-form-item label="关键词">
        <el-input v-model="searchForm.keyword" placeholder="关键词"></el-input>
      </el-form-item>
      <el-form-item label="状态">
        <el-select v-model="searchForm.region" placeholder="活动区域">
          <el-option label="区域一" value="shanghai"></el-option>
          <el-option label="区域二" value="beijing"></el-option>
        </el-select>
      </el-form-item>
      <el-form-item>
        <el-button type="primary" @click="onSubmit">查询</el-button>
      </el-form-item>
    </el-form>
    <!--分页-->
    <el-pagination
        @size-change="handleSizeChange"
        @current-change="handleCurrentChange"
        :current-page="currentPage"
        :page-sizes="[5,10,20,50]"
        :page-size="100"
        layout="total, sizes, prev, pager, next, jumper"
        :total="total">
    </el-pagination>
  </div>
</template>

<script>
export default {
  data() {
    return {
      total:0,
      searchForm: {
        keyword:''
      },
      currentPage: 0
    }
  },
  methods: {
    onSubmit() {
      console.log('submit!');
    },
    //条数改变
    handleSizeChange(){

    },
    //改变当前页
    handleCurrentChange(){

    }
  }
}
</script>

<style>

</style>